//
//  UITextField+Extension.m
//  Project
//
//  Created by 本游网络 on 2018/1/6.
//  Copyright © 2018年 本游网络. All rights reserved.
//

#import "UITextField+Extension.h"
#import "UIColor+Extension.h"

@implementation UITextField (Extension)

- (void)setPlaceHolderColor:(NSString *)colorStr{

    // "通过KVC修改占位文字的颜色"
    [self setValue:[UIColor colorWithHexString:colorStr] forKeyPath:@"_placeholderLabel.textColor"];
}


@end
